Class: Phalcon\Paginator\Exception:

Exception: Parameter 'builder' must be an instance of Phalcon\Mvc\Model\Query\Builder

File=/var/www/loserhub/app/modules/backend/controllers/CompanyController.php Line=305

#0 /var/www/loserhub/app/modules/backend/controllers/CompanyController.php(305): Phalcon\Paginator\Adapter\QueryBuilder->__construct(Array)
#1 [internal function]: Loserhub\Backend\Controllers\CompanyController->relatedAction('%1E%CE%90$%0E%6...')
#2 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Loserhub\Backend\Controllers\CompanyController), 'relatedAction', Array)
#3 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#4 /var/www/loserhub/app/bootstrap_web.php(100): Phalcon\Mvc\Application->handle('/backend/compan...')
#5 /var/www/loserhub/public/index.php(17): require('/var/www/loserh...')
#6 {main}